/*
 * BanBu_SmileView
 * @description 本文件提供对话各种素材的view
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供对话各种素材的view
 */

#import <UIKit/UIKit.h>
#import "SCGIFImageView.h"
#import "BanBu_SmileViewAPI.h"
#define SmileViewDefaultHeight 216.0
@class BanBu_ChatViewController;

typedef enum
{
  SmileViewLayoutStand,
    
  SmileViewLayoutAdd

}SmileViewLayoutType;


@protocol BanBu_SmileViewDelegate;

@interface BanBu_SmileView : UIView <UIScrollViewDelegate>
{
    UIScrollView *_contengView;
    UIButton *cancelButton;
    UIImageView *_arrow;
}

@property(nonatomic,assign) SmileViewType type;
@property(nonatomic,retain) NSMutableArray *inputedStr;
@property(nonatomic,assign) id<BanBu_SmileViewDelegate> delegate;
@property(nonatomic,assign) SmileViewLayoutType typeLay;
@property(nonatomic,retain) SCGIFImageView *gifView;
@property(nonatomic,retain) UIPageControl *pageControl;

@property(assign, nonatomic)BanBu_ChatViewController * chatViewController;


@property (retain, nonatomic)UIScrollView * contengViewBackup1;//符号
@property (retain, nonatomic)UIScrollView * contengViewBackup2;//聊天小助手

@property (assign, nonatomic)BOOL s1;
@property (assign, nonatomic)BOOL s2;
@property (assign, nonatomic)BOOL s3;

@end

@protocol BanBu_SmileViewDelegate <NSObject>
@optional

- (void)banBu_SmileView:(BanBu_SmileView *)smileView didInputSmile:(NSString *)inputString isDelete:(BOOL)del type:(int) smile;

@optional

-(void)banBu_ActionView:(BanBu_SmileView *)actionView didInputBrand:(UIButton *)actionBrand isAdd:(BOOL)add;

-(NSString *)addActionCard;

@end
